package cn.wzx.respJson;

import java.util.HashMap;
import java.util.Map;

// return RespJson.pack();
public class RespJson {
    public static Map<String,Object> pack(int code,String msg,Object data){
        HashMap<String,Object> map = new HashMap<>();
        map.put("code",code);
        map.put("msg",msg);
        map.put("data",data);
        return map;
    }

}
